/*  
 Copyright 2010 The 'Tribe.Blog' development team  
 (http://tribecache.codeplex.com/team/view)

 This library is licensed under the Ms-PL Microsoft Public License.  You should 
 have received a copy of the license along with the source code.  If not, an online copy
 of the license can be found at http://tribecache.codeplex.com/license.
*/

using System;

namespace Tribe.Cache.Helpers
{
    ///<summary>
    /// Generic helper class
    ///</summary>
    public static class Helpers
    {
        ///<summary>
        /// Checks to make sure the time span has time
        ///</summary>
        ///<param name="source">int</param>
        ///<returns>bool</returns>
        public static bool HasTime(this TimeSpan source)
        {
            return source.Ticks > 0;
        }
    }
}